package com.yic.module.device.convert.inspectionPlanJob;

import java.util.*;

import com.yic.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.yic.module.device.controller.admin.inspectionPlanJob.vo.*;
import com.yic.module.device.dal.dataobject.inspectionPlanJob.InspectionPlanJobDO;

/**
 * 巡检计划与任务关联 Convert
 *
 * @author 系统管理员
 */
@Mapper
public interface InspectionPlanJobConvert {

    InspectionPlanJobConvert INSTANCE = Mappers.getMapper(InspectionPlanJobConvert.class);

    InspectionPlanJobDO convert(InspectionPlanJobCreateReqVO bean);

    InspectionPlanJobDO convert(InspectionPlanJobUpdateReqVO bean);

    InspectionPlanJobRespVO convert(InspectionPlanJobDO bean);

    List<InspectionPlanJobRespVO> convertList(List<InspectionPlanJobDO> list);

    PageResult<InspectionPlanJobRespVO> convertPage(PageResult<InspectionPlanJobDO> page);

    List<InspectionPlanJobExcelVO> convertList02(List<InspectionPlanJobDO> list);

}
